package com.ys.store.service;

import com.ys.store.entity.User;

/*用户模块业务层接口*/
public interface IUserService {
    /*用户注册*/
    void reg(User user);

    /*用户登录*/
    User login(String username,String password);

    void ChangePassword(Integer uid, String username,String oldPassword,String newPassword);
}
